import request from '@/utils/http.js'

export const getCateGory = () => {
  return request.get('/category')
}
export const getdetail = (id, data) => {
  return request.get('/detail/' + id, {
    params: data
  })
}
export const getArticle = (id) => {
  return request.get('/article/' + id)
}
